package com.mysiteforme.admin.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.mysiteforme.admin.base.DataEntity;

import java.util.Set;

/**
 * <p>
 * 平台头条
 * </p>
 *
 * @author wangl
 * @since 2019-09-20
 */
@TableName("electricity_headlines")
public class ElectricityHeadlines extends DataEntity<ElectricityHeadlines> {

    private static final long serialVersionUID = 1L;

	@TableField(exist = false)
	private Set<ElectricityClassify> classifySet;

	public Set<ElectricityClassify> getClassifySet() {
		return classifySet;
	}

	public void setClassifySet(Set<ElectricityClassify> classifySet) {
		this.classifySet = classifySet;
	}

    /**
     * 标题
     */
	private String title;
    /**
     * 内容
     */
	private String content;
	/**
     * 图片
     */
	private String pics;
	/**
	 * 副标题
	 */
	private String subtitle;
    /**
     * 展示次数
     */
	@TableField("show_time")
	private Integer showTime;
    /**
     * 标识
     */
//	private Integer flag;
    /**
     * 排序
     */
	@TableField("line_sort")
	private String lineSort;
    /**
     * 是否最热
     */
	@TableField("is_not_hot")
	private Integer isNotHot;
    /**
     * 是否最新
     */
	@TableField("is_not_new")
	private Integer isNotNew;
    /**
     * 是否推荐
     */
	private String recommendation;

	/**
	 *
	 * 手机内容
	 */
	private String contentMobile;

	public String getContentMobile() {
		return contentMobile;
	}

	public void setContentMobile(String contentMobile) {
		this.contentMobile = contentMobile;
	}

	public String getSubtitle() {
		return subtitle;
	}

	public void setSubtitle(String subtitle) {
		this.subtitle = subtitle;
	}

	public String getPics() {
		return pics;
	}

	public void setPics(String pics) {
		this.pics = pics;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	public Integer getShowTime() {
		return showTime;
	}

	public void setShowTime(Integer showTime) {
		this.showTime = showTime;
	}
	/*public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}*/
	public String getLineSort() {
		return lineSort;
	}

	public void setLineSort(String lineSort) {
		this.lineSort = lineSort;
	}
	public Integer getIsNotHot() {
		return isNotHot;
	}

	public void setIsNotHot(Integer isNotHot) {
		this.isNotHot = isNotHot;
	}
	public Integer getIsNotNew() {
		return isNotNew;
	}

	public void setIsNotNew(Integer isNotNew) {
		this.isNotNew = isNotNew;
	}
	public String getRecommendation() {
		return recommendation;
	}

	public void setRecommendation(String recommendation) {
		this.recommendation = recommendation;
	}


	@Override
	public String toString() {
		return "ElectricityHeadlines{" +
			", title=" + title +
			", content=" + content +
			", showTime=" + showTime +
				", pics=" + pics +
				", subtitle=" + subtitle +
				", contentMobile=" + contentMobile +
			", lineSort=" + lineSort +
			", isNotHot=" + isNotHot +
			", isNotNew=" + isNotNew +
			"}";
	}
}
